import fetch from 'common/src/utils/fetch';

/**
 *获取排考场次列表
 */
function getListPage(data) {
    return fetch({
        url: '/api/electionservice/underGraduateExamScene/getListPage',
        method: 'post',
        data
    })
}

/**
 *排考场次新增
 */
function addExamArrangeSetting(data) {
    return fetch({
        url: '/api/electionservice/underGraduateExamScene/add',
        method: 'post',
        data
    })
}

/**
 *排考场次修改
 */
function editExamArrangeSetting(data) {
    return fetch({
        url: '/api/electionservice/underGraduateExamScene/edit',
        method: 'post',
        data
    })
}

/**
 *排考场次删除
 */
function deleteExamArrangeSetting(data) {
    return fetch({
        url: '/api/electionservice/underGraduateExamScene/delete',
        method: 'delete',
        data
    })
}

export default {
    getListPage: getListPage,
    addExamArrangeSetting: addExamArrangeSetting,
    editExamArrangeSetting: editExamArrangeSetting,
    deleteExamArrangeSetting: deleteExamArrangeSetting
};
